package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_wallet")
public class Wallet implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "wallet_id", type = IdType.AUTO)
    private Integer walletId;

    private BigDecimal walletBalance;

    private Integer userId;


}
